<?php
class Service {
	protected $db;
	protected $conf;

	public function __construct() {
		$this->conf = C('DBCONFIG');
		$this->db = @new MySQL($this->conf['db_name'], $this->conf['db_user'], $this->conf['db_pass'], $this->conf['db_host']);
	}
}
?>